package oop


type Class struct {
	Name string
	Students []Student
}

func NewClass(name string) (class Class) {
	class = Class{Name:name}
	return
}

func (this *Class) AddStudent(student Student) {
	this.Students = append(this.Students, student)
}